In this paper, we mainly record the pre-C + + preprocessor directives, and the common preprocessing directives are:#空指令, without any effect#include包含一个源代码文件#define定义宏#undef取消已定义的宏#if如果给定条件为真, the following code is compiled#ifdef如果宏已经定义, the
For example, just record the uncertain path contained in PHP:
This is caused by the include path of PHP. Test it by yourself and summarize it as follows.
DefinitionA = include file B = file included by a c = file included by B That is to say, a
1. WAMP Introduction
W refers to the Windows Runtime environment.
A refers to the Apache server.
m refers to MySQL database etc...
P refers to PHP or Python server language and environment.
2. Download Wamp and Visual C + +
Modification history:
V0.1 2006-08-06
Add SSL configuration to v0.2 2006-09-10
V0.21 fixed an error in 2.3 configuration (reported by blair1978)
V0.23 add two necessary files in Attachment 1. Otherwise, the SSL certificate cannot be created.
Fixed a
ApacheHTTPServer (3) -- configure the basic container of the fragment & lt; IfDefine & gt; and apply it only when the command line parameters have corresponding definitions. For example: & lt; IfDefineClosedForNow & gt;
Recently looking at a php extension source, compile the time encountered a problem:LD 1 for Architecture x86_64Take a closer look at the source code, found in the header file in the definition of global variablesZend_declare_module_globals
In general, all lines in the source program are compiled. However, sometimes it is desirable to compile a part of the content only if certain conditions are met, that is, to specify the conditions for the compilation of some content, which is
PHP Super Config module
Calling PHP in Apache is an enduring topic, the current PHP version of PHP4 and PHP5, and in Apache call PHP there are modules (module) mode and CGI mode, Apache also has two versions of Apache1 and Apache2.There are eight
C language, pre-processor features:
1. # Replace the header file of include <> or ""
2.# Define Object replacement (Object-like)
Object replacement is separated by the first space, followed by the replacement token list
3. # define ()
Cc command, linuxcc command
Most UNIX platforms call their C compilation programs through CC. In addition to the standard and CC, LINUX and FREEBSD also support gcc. The basic compilation Commands include the following:1.-cCompile and generate an
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.